A Naïve Time Analysis and its Theory of Cost Equivalence
نویسنده
چکیده
Techniques for reasoning about extensional properties of functional programs are well understood, but methods for analysing the underlying intensional or operational properties have been much neglected. This paper begins with the development of a simple but useful calculus for time analysis of non-strict functional programs with lazy lists. One limitation of this basic calculus is that the ordinary equational reasoning on functional programs is not valid. In order to buy back some of these equational properties we develop a non-standard operational equivalence relation called cost equivalence, by considering the number of computation steps as an ‘observable’ component of the evaluation process. We define this relation by analogy with Park’s definition of bisimulation in CCS. This formulation allows us to show that cost equivalence is a contextual congruence (and thus is substitutive with respect to the basic calculus) and provides useful proof techniques for establishing cost-equivalence laws. It is shown that basic evaluation time can be derived by demonstrating a certain form of cost equivalence, and we give an axiomatization of cost equivalence which is complete with respect to this application. This shows that cost equivalence subsumes the basic calculus. Finally we show how a new operational interpretation of evaluation demands can be used to provide a smooth interface between this time analysis and more compositional approaches, retaining the advantages of both.
منابع مشابه
Topological structure on generalized approximation space related to n-arry relation
Classical structure of rough set theory was first formulated by Z. Pawlak in [6]. The foundation of its object classification is an equivalence binary relation and equivalence classes. The upper and lower approximation operations are two core notions in rough set theory. They can also be seenas a closure operator and an interior operator of the topology induced by an equivalence relation on a u...
متن کاملDynamic equivalence relation on the fuzzy measure algebras
The main goal of the present paper is to extend classical results from the measure theory and dynamical systems to the fuzzy subset setting. In this paper, the notion of dynamic equivalence relation is introduced and then it is proved that this relation is an equivalence relation. Also, a new metric on the collection of all equivalence classes is introduced and it is proved that this metric is...
متن کاملDeveloping a Leisure Development Model for the Elderly Based on Physical-Psychological Approach (Grounded Theory)
Introduction: The population of the elderly in Iran is growing rapidly. In the meantime، What is clear، this is That period of aging naturally، It has mental and physical problems. Therefore، mental and physical illnesses in this age group increase the cost of health care exponentially. The Purpose of this research developing an Elderly Leisure-Time Development Model Based on the approach Ment...
متن کاملTwo-tier Supplier Base Efficiency Evaluation Via Network DEA: A Game Theory Approach
In today's competitive markets, firms try to reduce their supply cost by selecting efficient suppliers using different techniques. Several methods can be applied to evaluate the efficiency of supplier base. This paper develops generalized network data envelopment analysis models to examine the efficiency of two-tier supplier bases under cooperative and non-cooperative strategies where each tier...
متن کاملA New Uncertain Modeling of Production Project Time and Cost Based on Atanassov Fuzzy Sets
Uncertainty plays a major role in any project evaluation and management process. One of the trickiest parts of any production project work is its cost and time forecasting. Since in the initial phases of production projects uncertainty is at its highest level, a reliable method of project scheduling and cash flow generation is vital to help the managers reach successful implementation of the ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Log. Comput.
دوره 5 شماره
صفحات -
تاریخ انتشار 1995